package com.cfswt.tasksystem.mapper;

import com.cfswt.tasksystem.pojo.dto.MeetingDecisionDTO;
import com.cfswt.tasksystem.pojo.vo.MeetingDecisionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MeetingDecisionMapper {
    public int insertMeetingDecisions(MeetingDecisionDTO meetingDecisionDTO);

    public List<MeetingDecisionVO> selectMeetingDecisionsByMeetingId(Integer meetingId);

    Boolean selectMeetingDecisionByMeetingIdAndRecordId(int meetingId, int recordId);

    int updateMeetingDecisionById(MeetingDecisionDTO meetingDecisionDTO);

    int selectDecisionIdByMeetingIdAndRecordId(int meetingId, int recordId);

    int setMeetingDecisionTaskIdById(Integer decisionId, Integer taskId);

    int selectMeetingDecisionTaskIdById(Integer id);
}
